package org.sucri.dao;

import javax.persistence.*;

/**
 * Created by IntelliJ IDEA.
 * User: Wen Yu
 * Date: Aug 30, 2007
 * Time: 11:26:53 PM
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(catalog = "vpp", name = "HTMLDocument")
public class HtmldocumentEntity
{
  private int htmlDocId;
  private String sourceDir;
  private String name;
  private String description;
  private String divIdNorth;
  private String divIdSouth;
  private String divIdWest;
  private String divIdEast;
  private String divIdCenter;

  @Basic
  @Column(name = "div_id_center", length = 45)
  public String getDivIdCenter()
  {
    return divIdCenter;
  }

  public void setDivIdCenter(String divIdCenter)
  {
    this.divIdCenter = divIdCenter;
  }

  @Basic
  @Column(name = "div_id_east", length = 45)
  public String getDivIdEast()
  {
    return divIdEast;
  }

  public void setDivIdEast(String divIdEast)
  {
    this.divIdEast = divIdEast;
  }

  @Basic
  @Column(name = "div_id_west", length = 45)
  public String getDivIdWest()
  {
    return divIdWest;
  }

  public void setDivIdWest(String divIdWest)
  {
    this.divIdWest = divIdWest;
  }

  @Basic
  @Column(name = "div_id_south", length = 45)
  public String getDivIdSouth()
  {
    return divIdSouth;
  }

  public void setDivIdSouth(String divIdSouth)
  {
    this.divIdSouth = divIdSouth;
  }

  @Basic
  @Column(name = "div_id_north", length = 45)
  public String getDivIdNorth()
  {
    return divIdNorth;
  }

  public void setDivIdNorth(String divIdNorth)
  {
    this.divIdNorth = divIdNorth;
  }

  @Basic
  @Column(name = "description", length = 1000)
  public String getDescription()
  {
    return description;
  }

  public void setDescription(String description)
  {
    this.description = description;
  }

  @Basic
  @Column(name = "name", length = 45)
  public String getName()
  {
    return name;
  }

  public void setName(String name)
  {
    this.name = name;
  }

  @Basic
  @Column(name = "source_dir", nullable = false)
  public String getSourceDir()
  {
    return sourceDir;
  }

  public void setSourceDir(String sourceDir)
  {
    this.sourceDir = sourceDir;
  }

  @Id
  @Column(name = "html_doc_id", nullable = false, length = 10)
  public int getHtmlDocId()
  {
    return htmlDocId;
  }

  public void setHtmlDocId(int htmlDocId)
  {
    this.htmlDocId = htmlDocId;
  }
}
